/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * intrrMain.java
 *
 * Created on Sep 27, 2011, 11:27:58 AM
 */
package aor2.gui.cpu;

import aor2.cpu.blockcontrol.ConditionSignalSet;
import aor2.cpu.blockinterrupt.InterruptBlock;
import aor2.cpu.blockinterrupt.InterruptSignalSet;
import aor2.cpu.blockoperation.Psw;
import java.awt.Graphics;

/**
 * 
 * @author Yogi
 */
public class intrrMain extends javax.swing.JPanel {
	private static intrrMain singleton = null;

	public static intrrMain getInstance() {
		if (singleton == null)
			singleton = new intrrMain();
		return singleton;
	}

	private JLabelSet PSWT, PRIMM, PRINM, PRADR, PRCOD, PRINS;

	private Psw psw;

	private void makeSignals() {
		PSWT = new JLabelSet(false, PSWT1, PSWT2, PSWT3);
		PRIMM = new JLabelSet(false, PRIMM1, PRIMM2, PRIMM3);
		PRINM = new JLabelSet(false, PRINM1, PRINM2, PRINM3, PRINM4);
		PRADR = new JLabelSet(false, PRADR1, PRADR2, PRADR3, PRADR4);
		PRCOD = new JLabelSet(false, PRCOD1, PRCOD2, PRCOD3, PRCOD4);
		PRINS = new JLabelSet(false, PRINS1, PRINS2, PRINS3, PRINS4, PRINS5);

	}

	/** Creates new form intrrMain */
	public intrrMain() {
		initComponents();
		psw = Psw.getInstance();
		makeSignals();
	}

	// TODO paintComp;
	@Override
	protected void paintComponent(Graphics g) {
		// TODO set sginals...
		PSWT.setEnabled(psw.bitT());
		PSWI.setEnabled(psw.bitI());
		PSWL.setEnabled(psw.bitL0());
		PSWL1.setEnabled(psw.bitL1());

		ConditionSignalSet condSS = ConditionSignalSet.getInstance();
		PRIMM.setEnabled(condSS.get("PRIMM").isActive());
		PRIMM.setEnabled(condSS.get("PRINM").isActive());
		PRCOD.setEnabled(condSS.get("PRCOD").isActive());
		PRADR.setEnabled(condSS.get("PRADR").isActive());
		PRINS.setEnabled(condSS.get("PRINS").isActive());

		InterruptBlock ib = InterruptBlock.getInstance();
		InterruptSignalSet iss = InterruptSignalSet.getInstance();

		prl0.setEnabled(ib.isPrL0());
		prl1.setEnabled(ib.isPrL1());

		prekid.setEnabled(!condSS.get("notprekid").isActive());

		inm.setEnabled(iss.get("inm").isActive());

		irm1.setEnabled(ib.isIrm1());
		irm2.setEnabled(ib.isIrm2());
		irm3.setEnabled(ib.isIrm3());

		notintr1.setEnabled(iss.get("notintr1").isActive());
		notintr2.setEnabled(iss.get("notintr2").isActive());
		notintr3.setEnabled(iss.get("notintr3").isActive());

		super.paintComponent(g);
	}

	/**
	 * This method is called from within the constructor to initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is always
	 * regenerated by the Form Editor.
	 */
	@SuppressWarnings("unchecked")
	// <editor-fold defaultstate="collapsed"
	// desc="Generated Code">//GEN-BEGIN:initComponents
	private void initComponents() {
		java.awt.GridBagConstraints gridBagConstraints;

		jLayeredPane1 = new javax.swing.JLayeredPane();
		notintr1 = new javax.swing.JLabel();
		notintr2 = new javax.swing.JLabel();
		notintr3 = new javax.swing.JLabel();
		PSWI = new javax.swing.JLabel();
		PSWL1 = new javax.swing.JLabel();
		PSWL = new javax.swing.JLabel();
		prl1 = new javax.swing.JLabel();
		prl0 = new javax.swing.JLabel();
		irm1 = new javax.swing.JLabel();
		irm2 = new javax.swing.JLabel();
		irm3 = new javax.swing.JLabel();
		PSWT1 = new javax.swing.JLabel();
		PSWT2 = new javax.swing.JLabel();
		PSWT3 = new javax.swing.JLabel();
		PRIMM1 = new javax.swing.JLabel();
		PRIMM2 = new javax.swing.JLabel();
		PRIMM3 = new javax.swing.JLabel();
		PRINM1 = new javax.swing.JLabel();
		PRINM2 = new javax.swing.JLabel();
		PRINM3 = new javax.swing.JLabel();
		PRINM4 = new javax.swing.JLabel();
		PRADR1 = new javax.swing.JLabel();
		PRADR2 = new javax.swing.JLabel();
		PRADR3 = new javax.swing.JLabel();
		PRADR4 = new javax.swing.JLabel();
		PRCOD1 = new javax.swing.JLabel();
		PRCOD2 = new javax.swing.JLabel();
		PRCOD3 = new javax.swing.JLabel();
		PRCOD4 = new javax.swing.JLabel();
		PRINS1 = new javax.swing.JLabel();
		PRINS2 = new javax.swing.JLabel();
		PRINS3 = new javax.swing.JLabel();
		PRINS4 = new javax.swing.JLabel();
		PRINS5 = new javax.swing.JLabel();
		M2value = new javax.swing.JLabel();
		ORout = new javax.swing.JLabel();
		prekid = new javax.swing.JLabel();
		jLabel2 = new javax.swing.JLabel();
		IR0label = new javax.swing.JLabel();
		IRvalue = new javax.swing.JLabel();
		inm = new javax.swing.JLabel();
		jLabel3 = new javax.swing.JLabel();
		jLabel4 = new javax.swing.JLabel();
		jLabel5 = new javax.swing.JLabel();
		jLabel6 = new javax.swing.JLabel();
		jLabel1 = new javax.swing.JLabel();

		setBackground(new java.awt.Color(255, 255, 255));
		setLayout(new java.awt.GridBagLayout());

		notintr1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		notintr1.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		notintr1.setEnabled(false);
		notintr1.setBounds(260, 60, 34, 21);
		jLayeredPane1.add(notintr1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		notintr2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		notintr2.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		notintr2.setEnabled(false);
		notintr2.setBounds(338, 60, 10, 21);
		jLayeredPane1.add(notintr2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		notintr3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		notintr3.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		notintr3.setEnabled(false);
		notintr3.setBounds(419, 60, 20, 21);
		jLayeredPane1.add(notintr3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PSWI.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PSWI.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PSWI.setEnabled(false);
		PSWI.setBounds(158, 92, 22, 14);
		jLayeredPane1.add(PSWI, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PSWL1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PSWL1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PSWL1.setEnabled(false);
		PSWL1.setBounds(158, 115, 22, 14);
		jLayeredPane1.add(PSWL1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PSWL.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PSWL.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PSWL.setEnabled(false);
		PSWL.setBounds(158, 140, 22, 14);
		jLayeredPane1.add(PSWL, javax.swing.JLayeredPane.DEFAULT_LAYER);

		prl1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		prl1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		prl1.setEnabled(false);
		prl1.setBounds(158, 158, 22, 14);
		jLayeredPane1.add(prl1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		prl0.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		prl0.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		prl0.setEnabled(false);
		prl0.setBounds(158, 182, 22, 14);
		jLayeredPane1.add(prl0, javax.swing.JLayeredPane.DEFAULT_LAYER);

		irm1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		irm1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		irm1.setEnabled(false);
		irm1.setBounds(400, 210, 34, 234);
		jLayeredPane1.add(irm1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		irm2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		irm2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		irm2.setEnabled(false);
		irm2.setBounds(430, 210, 34, 234);
		jLayeredPane1.add(irm2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		irm3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		irm3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		irm3.setEnabled(false);
		irm3.setBounds(462, 210, 34, 234);
		jLayeredPane1.add(irm3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PSWT1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PSWT1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PSWT1.setEnabled(false);
		PSWT1.setBounds(80, 598, 304, 20);
		jLayeredPane1.add(PSWT1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PSWT2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		PSWT2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		PSWT2.setEnabled(false);
		PSWT2.setBounds(293, 258, 10, 350);
		jLayeredPane1.add(PSWT2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PSWT3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PSWT3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PSWT3.setEnabled(false);
		PSWT3.setBounds(154, 251, 140, 14);
		jLayeredPane1.add(PSWT3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRIMM1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRIMM1.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRIMM1.setEnabled(false);
		PRIMM1.setBounds(57, 345, 160, 20);
		jLayeredPane1.add(PRIMM1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRIMM2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		PRIMM2.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		PRIMM2.setEnabled(false);
		PRIMM2.setBounds(215, 210, 20, 145);
		jLayeredPane1.add(PRIMM2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRIMM3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRIMM3.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRIMM3.setEnabled(false);
		PRIMM3.setBounds(154, 257, 62, 20);
		jLayeredPane1.add(PRIMM3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINM1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRINM1.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRINM1.setEnabled(false);
		PRINM1.setBounds(228, 560, 156, 10);
		jLayeredPane1.add(PRINM1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINM2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRINM2.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRINM2.setEnabled(false);
		PRINM2.setBounds(154, 266, 170, 14);
		jLayeredPane1.add(PRINM2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINM3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		PRINM3.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		PRINM3.setEnabled(false);
		PRINM3.setBounds(322, 274, 10, 291);
		jLayeredPane1.add(PRINM3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINM4.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRINM4.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRINM4.setEnabled(false);
		PRINM4.setBounds(57, 373, 266, 14);
		jLayeredPane1.add(PRINM4, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRADR1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRADR1.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRADR1.setEnabled(false);
		PRADR1.setBounds(228, 507, 156, 10);
		jLayeredPane1.add(PRADR1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRADR2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRADR2.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRADR2.setEnabled(false);
		PRADR2.setBounds(154, 272, 190, 14);
		jLayeredPane1.add(PRADR2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRADR3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRADR3.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRADR3.setEnabled(false);
		PRADR3.setBounds(57, 393, 287, 20);
		jLayeredPane1.add(PRADR3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRADR4.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		PRADR4.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		PRADR4.setEnabled(false);
		PRADR4.setBounds(343, 279, 10, 233);
		jLayeredPane1.add(PRADR4, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRCOD1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRCOD1.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRCOD1.setEnabled(false);
		PRCOD1.setBounds(228, 484, 156, 14);
		jLayeredPane1.add(PRCOD1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRCOD2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRCOD2.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRCOD2.setEnabled(false);
		PRCOD2.setBounds(154, 281, 120, 14);
		jLayeredPane1.add(PRCOD2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRCOD3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRCOD3.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRCOD3.setEnabled(false);
		PRCOD3.setBounds(57, 418, 217, 20);
		jLayeredPane1.add(PRCOD3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRCOD4.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		PRCOD4.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		PRCOD4.setEnabled(false);
		PRCOD4.setBounds(273, 288, 20, 203);
		jLayeredPane1.add(PRCOD4, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINS1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRINS1.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRINS1.setEnabled(false);
		PRINS1.setBounds(228, 461, 156, 14);
		jLayeredPane1.add(PRINS1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINS2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRINS2.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRINS2.setEnabled(false);
		PRINS2.setBounds(57, 436, 200, 14);
		jLayeredPane1.add(PRINS2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINS3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		PRINS3.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		PRINS3.setEnabled(false);
		PRINS3.setBounds(96, 310, 161, 14);
		jLayeredPane1.add(PRINS3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINS4.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		PRINS4.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		PRINS4.setEnabled(false);
		PRINS4.setBounds(256, 317, 30, 151);
		jLayeredPane1.add(PRINS4, javax.swing.JLayeredPane.DEFAULT_LAYER);

		PRINS5.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		PRINS5.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		PRINS5.setEnabled(false);
		PRINS5.setBounds(96, 285, 10, 32);
		jLayeredPane1.add(PRINS5, javax.swing.JLayeredPane.DEFAULT_LAYER);
		M2value.setBounds(500, 430, 0, 0);
		jLayeredPane1.add(M2value, javax.swing.JLayeredPane.DEFAULT_LAYER);

		ORout.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		ORout.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		ORout.setEnabled(false);
		ORout.setBounds(94, 266, 15, 15);
		jLayeredPane1.add(ORout, javax.swing.JLayeredPane.DEFAULT_LAYER);

		prekid.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		prekid.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		prekid.setEnabled(false);
		prekid.setBounds(35, 274, 23, 10);
		jLayeredPane1.add(prekid, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_2pt_z.jpg"))); // NOI18N
		jLabel2.setBounds(32, 490, 100, 20);
		jLayeredPane1.add(jLabel2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		IR0label.setBackground(new java.awt.Color(255, 255, 255));
		IR0label.setText("IR015..0");
		IR0label.setOpaque(true);
		IR0label.setBounds(40, 460, 50, 60);
		jLayeredPane1.add(IR0label, javax.swing.JLayeredPane.DEFAULT_LAYER);
		IRvalue.setBounds(90, 500, 0, 0);
		jLayeredPane1.add(IRvalue, javax.swing.JLayeredPane.DEFAULT_LAYER);

		inm.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		inm.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		inm.setEnabled(false);
		inm.setBounds(72, 558, 60, 10);
		jLayeredPane1.add(inm, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel3.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
		jLabel3.addMouseListener(new java.awt.event.MouseAdapter() {
			public void mouseClicked(java.awt.event.MouseEvent evt) {
				jLabel3MouseClicked(evt);
			}
		});
		jLabel3.setBounds(133, 454, 95, 71);
		jLayeredPane1.add(jLabel3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel4.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
		jLabel4.addMouseListener(new java.awt.event.MouseAdapter() {
			public void mouseClicked(java.awt.event.MouseEvent evt) {
				jLabel4MouseClicked(evt);
			}
		});
		jLabel4.setBounds(385, 445, 95, 176);
		jLayeredPane1.add(jLabel4, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel5.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
		jLabel5.addMouseListener(new java.awt.event.MouseAdapter() {
			public void mouseClicked(java.awt.event.MouseEvent evt) {
				jLabel5MouseClicked(evt);
			}
		});
		jLabel5.setBounds(181, 82, 323, 127);
		jLayeredPane1.add(jLabel5, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel6.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
		jLabel6.addMouseListener(new java.awt.event.MouseAdapter() {
			public void mouseClicked(java.awt.event.MouseEvent evt) {
				jLabel6MouseClicked(evt);
			}
		});
		jLabel6.setBounds(133, 540, 95, 51);
		jLayeredPane1.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);

		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
		gridBagConstraints.weightx = 1.0;
		gridBagConstraints.weighty = 1.0;
		add(jLayeredPane1, gridBagConstraints);

		jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/InterrMain.jpg"))); // NOI18N
		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
		gridBagConstraints.weightx = 1.0;
		gridBagConstraints.weighty = 1.0;
		add(jLabel1, gridBagConstraints);
	}// </editor-fold>//GEN-END:initComponents

	private void jLabel3MouseClicked(java.awt.event.MouseEvent evt) {// GEN-FIRST:event_jLabel3MouseClicked
		CpuFrame cpu = CpuFrame.getInstance();
		cpu.setCentralPane(IntrrFF.getInstance());
		cpu.repaint();
	}// GEN-LAST:event_jLabel3MouseClicked

	private void jLabel4MouseClicked(java.awt.event.MouseEvent evt) {// GEN-FIRST:event_jLabel4MouseClicked
		CpuFrame cpu = CpuFrame.getInstance();
		cpu.setCentralPane(IntrrIVTP.getInstance());
		cpu.repaint();
	}// GEN-LAST:event_jLabel4MouseClicked

	private void jLabel5MouseClicked(java.awt.event.MouseEvent evt) {// GEN-FIRST:event_jLabel5MouseClicked
		CpuFrame cpu = CpuFrame.getInstance();
		cpu.setCentralPane(MaskInterr.getInstance());
		cpu.repaint();
	}// GEN-LAST:event_jLabel5MouseClicked

	private void jLabel6MouseClicked(java.awt.event.MouseEvent evt) {// GEN-FIRST:event_jLabel6MouseClicked
		CpuFrame cpu = CpuFrame.getInstance();
		cpu.setCentralPane(ExtInterrPanel.getInstance());
		cpu.repaint();
	}// GEN-LAST:event_jLabel6MouseClicked

	// Variables declaration - do not modify//GEN-BEGIN:variables
	private javax.swing.JLabel IR0label;
	private javax.swing.JLabel IRvalue;
	private javax.swing.JLabel M2value;
	private javax.swing.JLabel ORout;
	private javax.swing.JLabel PRADR1;
	private javax.swing.JLabel PRADR2;
	private javax.swing.JLabel PRADR3;
	private javax.swing.JLabel PRADR4;
	private javax.swing.JLabel PRCOD1;
	private javax.swing.JLabel PRCOD2;
	private javax.swing.JLabel PRCOD3;
	private javax.swing.JLabel PRCOD4;
	private javax.swing.JLabel PRIMM1;
	private javax.swing.JLabel PRIMM2;
	private javax.swing.JLabel PRIMM3;
	private javax.swing.JLabel PRINM1;
	private javax.swing.JLabel PRINM2;
	private javax.swing.JLabel PRINM3;
	private javax.swing.JLabel PRINM4;
	private javax.swing.JLabel PRINS1;
	private javax.swing.JLabel PRINS2;
	private javax.swing.JLabel PRINS3;
	private javax.swing.JLabel PRINS4;
	private javax.swing.JLabel PRINS5;
	private javax.swing.JLabel PSWI;
	private javax.swing.JLabel PSWL;
	private javax.swing.JLabel PSWL1;
	private javax.swing.JLabel PSWT1;
	private javax.swing.JLabel PSWT2;
	private javax.swing.JLabel PSWT3;
	private javax.swing.JLabel inm;
	private javax.swing.JLabel irm1;
	private javax.swing.JLabel irm2;
	private javax.swing.JLabel irm3;
	private javax.swing.JLabel jLabel1;
	private javax.swing.JLabel jLabel2;
	private javax.swing.JLabel jLabel3;
	private javax.swing.JLabel jLabel4;
	private javax.swing.JLabel jLabel5;
	private javax.swing.JLabel jLabel6;
	private javax.swing.JLayeredPane jLayeredPane1;
	private javax.swing.JLabel notintr1;
	private javax.swing.JLabel notintr2;
	private javax.swing.JLabel notintr3;
	private javax.swing.JLabel prekid;
	private javax.swing.JLabel prl0;
	private javax.swing.JLabel prl1;
	// End of variables declaration//GEN-END:variables
}
